<template>
  <div>
    <el-table
      ref="traitTab"
      :data="iparent.itemInfo.piTraitList"
      stripe
      size="small"
      border
      style="width: 100%;"
      round
    >
      <el-table-column :show-overflow-tooltip="true" sortable="custom" label="商品号" prop="itemNbr" :width="colWidths.itemNbr" />
      <el-table-column :show-overflow-tooltip="true" sortable="custom" label="UPC" prop="upcNbr" :width="colWidths.upcNbr" />
      <el-table-column :show-overflow-tooltip="true" sortable="custom" label="供应商编号" prop="vendorNbr" :width="colWidths.vendorNbr" />
      <el-table-column :show-overflow-tooltip="true" label="新发送特号" prop="newSendTrait" :width="colWidths.newSendTrait" />
      <el-table-column :show-overflow-tooltip="true" label="新不发送特号" prop="newOmitSendTrait" :width="colWidths.newOmitSendTrait" />
    </el-table>
  </div>
</template>

<script>
import initData from '@/utils/initData'

export default {
  mixins: [initData],
  props: {
    iparent: {
      type: Object,
      default: null
    }
  }
}
</script>

